package com.iasku.util;

import android.content.Context;
import android.widget.EditText;
import android.widget.Toast;

public class BaseUtil {
    
    public static void showText(Context context,String message){
        Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
    }
    
    public static boolean isEmptyEt(EditText editText){
        boolean isEmpty = false;
        if(editText == null || "".equals(editText.getText().toString().trim())){
            isEmpty = true;
        }
        return isEmpty;
    }
}
